package org.anddev.andengine.engine.handler.bounds;

import org.anddev.andengine.entity.shape.IShape;

public interface IOutOfBoundsCallback {
	// ===========================================================
    // Final Fields
    // ===========================================================

	final static int BOUND_TOP = 1;
	final static int BOUND_LEFT = 2;
	final static int BOUND_BOTTOM = 3;
	final static int BOUND_RIGHT = 4;
	
    // ===========================================================
    // Methods
    // ===========================================================

    /**
     * @param pShape
     * @return <code>true</code> to proceed, <code>false</code> to stop further OffScreen-checks.
     */
    public boolean onOutOfBounds(final IShape pShape, final int pCollisionBound);
}
